<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2022-07-25CSS魔术线图标悬停效果</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
        integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="/2022-07-25CSS魔术线图标悬停效果/css/index.css">
</head>

<body>
    <ul>
        <li style="--clr:#1da1f2;">
            <i class="fa-brands fa-twitter"></i>
        </li>
        <li style="--clr:#dd2a7b;">
            <i class="fa-brands fa-instagram"></i>
        </li>
        <li style="--clr:#25d366;">
            <i class="fa-brands fa-whatsapp"></i>
        </li>
        <li style="--clr:#ff0000;">
            <i class="fa-brands fa-youtube"></i>
        </li>
    </ul>
</body>

</html>